package com.example.newbee.mvp.view.fragment;


import android.widget.ImageView;
import android.widget.TextView;

import androidx.fragment.app.Fragment;
import androidx.viewpager.widget.ViewPager;

import com.example.mylibrary.mvp.view.BaseFragment;
import com.example.newbee.R;
import com.example.newbee.bean.TagBean;
import com.example.newbee.mvp.contact.TravelContract;
import com.example.newbee.mvp.model.TravelModel;
import com.example.newbee.mvp.presenter.TravelPresenter;
import com.google.android.material.tabs.TabLayout;

import java.util.List;

import butterknife.BindView;

/**
 * A simple {@link Fragment} subclass.
 */
public class TravelFragment extends BaseFragment<TravelPresenter> implements TravelContract.View {


    @BindView(R.id.f_main_tab_layout)
    TabLayout tl;
    @BindView(R.id.f_home_top_bar_search_et)
    TextView tv;
    @BindView(R.id.f_home_top_bar_msg_iv)
    ImageView iv;
    @BindView(R.id.f_main_pager_view)
    ViewPager vp;

    @Override
    public int bondLayout() {
        return R.layout.fragment_travel;
    }

    @Override
    public void initView() {

    }

    @Override
    public void initData() {
        mPresenter=new TravelPresenter(new TravelModel(),this);
        mPresenter.tags();
        responseTabPager();
    }

    private void responseTabPager() {

    }

    @Override
    public void initTabAdapter(List<TagBean> tagBeans) {

    }

    @Override
    public void initPagerAdapter(List<TagBean> tagBeans) {

    }

    @Override
    public void loadLayout() {

    }

    @Override
    public void hideLayout() {

    }

    @Override
    public void Toast(String message) {

    }
}
